package com.slipper.system.codeless.dao;

import java.util.List;

import com.slipper.system.codeless.bo.DataFieldBO;
import org.apache.ibatis.annotations.Param;

/**
 * 数据字段信息表
 */
public interface DataFieldDao {
    
    int insert(DataFieldBO bo);
    
    int update(DataFieldBO bo);
    
    int delete(DataFieldBO bo);

    DataFieldBO queryBy(String id);

    DataFieldBO queryByFieldName(@Param("modelId") String modelId, @Param("fieldName") String fieldName);

    List<DataFieldBO> queryList(DataFieldBO bo);

    void deleteByModelId(String modelIdd);
}
